import request from '../utils/request';
export const getAiOne = (params = "你好吗") => {
  return request({
    headers: {
      "Content-Type": "text/event-stream",
    },
    params: {
      sendMessage: params
    },
    responseType: "stream",
    url: "ai/chat-new",
    method: "GET"
  })
}